package com.cienet.playandrecord;

import mypackage.EchoScreen;

public class VoiceManager
{
    private static PlaySide mPlaySide;
    
    public static void prepare()
    {
        //        new Thread()
        //        {
        //            public void run()
        //            {
        EchoScreen.log("VoiceManager prepare()");
        mPlaySide = new PlaySide();
        
        //            };
        //        }.start();
    }
    
    public static void startPlay()
    {
        
        new Thread()
        {
            public void run()
            {
                EchoScreen.log("VoiceManager startPlay()");
                mPlaySide.beginPlay();
                
            };
        }.start();
    }
    
    public static void stopPlay()
    {
        EchoScreen.log("VoiceManager stopPlay()");
        mPlaySide.stop();
    }
}
